<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>

<body>
<script>

var s ="<html><head><title></title></head><body></body></html>";
var r = /<.*?>/
var a = s.match(r); 			// 返回单元素数组["<html>"]



</script>
</body>
</html>
